import request from '@/utils/request'
// 库存汇总列表
export function getInventorySummaryListAPI(params) {
  return request({
    url: '/storage/wmsStock/getInventorySummaryList',
    method: 'GET',
    params
  })
}

// 原料明细列表
export function getInventoryMaterialDetailedAPI(params) {
  return request({
    url: '/storage/wmsStock/getInventoryMaterialDetailed',
    method: 'GET',
    params
  })
}

// 辅料明细列表
export function getInventoryAccessoriesDetailedAPI(params) {
  return request({
    url: '/storage/wmsStock/getInventoryAccessoriesDetailed',
    method: 'GET',
    params
  })
}

// 成品明细列表
export function getInventoryFinishProductDetailedAPI(params) {
  return request({
    url: '/storage/wmsStock/getInventoryFinishProductDetailed',
    method: 'GET',
    params
  })
}

// 半成品明细列表
export function getInventoryMaterialHalfDetailedAPI(params) {
  return request({
    url: '/storage/wmsStock/getInventoryMaterialHalfDetailed',
    method: 'GET',
    params
  })
}

// 废料明细列表
export function getInventoryWasteDetailedAPI(params) {
  return request({
    url: '/storage/wmsStock/getInventoryWasteDetailed',
    method: 'GET',
    params
  })
}

// 仓库列表模糊查询接口
export function getlistAPI(params) {
  return request({
    url: '/storage/warehouse/list',
    method: 'GET',
    params
  })
}

//物料类别模糊查询接口
export function selectCodingRulesByIdListAPI(params) {
  return request({
    url: '/system/awmateria/selectCodingRulesByIdList',
    method: 'GET',
    params
  })
}
